<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>我的学习</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
	</script>
	<script type="text/javascript" src="${path}/js/common/bootstrap.min.js"></script>
	<script type="text/javascript" src="${path}/js/common/jquery.min.js"></script>
	<link href="${path}/css/common/bootstrap.min.css" rel="stylesheet" type="text/css"/>
	<style type="text/css">
		.infot{
			margin-left: 100px;
		}
	</style>
</head>
<body>
	<ul class="nav nav-tabs">
		<li><a href="${ctx}/stu/stuLearn/">我的学习任务</a></li>
		<%--<li class="active"><a href="${ctx}/stu/stuLearn/stuLearnDetail?distributeId=${param.distributeId}">查看详情</a></li>--%>
		<li class="active"><a href="#">查看详情</a></li>

	</ul>
	<sys:message content="${message}"/>
	<div class="row" style="margin-top: 30px">
		<div class="col-md-4 col-md-offset-4">
			<p>学习任务名称：</p>
			<p class="infot">${param.name}</p>
		</div>
	</div>
	<div class="row">
		<div class="col-md-4 col-md-offset-4">
			<p>课程名称：</p>
			<c:forEach items="${stuLearnCourse}" var="stuLearnCourse">
				<p class="infot"><a href="${ctx}/resource/resourceCourse/stuCourseList?courseId=${stuLearnCourse.id}">${stuLearnCourse.courseName}</a></p>
			</c:forEach>
		</div>
	</div>
	<div class="row">
		<div class="col-md-4 col-md-offset-4">
			<p>CTF题目集：</p>
			<c:forEach items="${stuLearnCtfSet}" var="stuLearnCtfSet">
				<p class="infot"><a href="${ctx}/resource/resourceCtfSet/stuCtfSetList?ctfSetId=${stuLearnCtfSet.id}">${stuLearnCtfSet.ctfSetName}</a></p>
			</c:forEach>
		</div>
	</div>
	<div class="row">
		<div class="col-md-4 col-md-offset-4">
			<p>考试：</p>
			<c:forEach items="${stuLearnExam}" var="stuLearnExam">
				<p class="infot"><a href="${ctx}/teach/teachStudentPaper/stuExamList?paperId=${stuLearnExam.id}">${stuLearnExam.examName}</a></p>
			</c:forEach>
		</div>
	</div>
	<div class="form-actions">
		<input id="btnCancel" class="btn btn-primary col-md-offset-6" type="button" value="返 回" onclick="history.go(-1)"/>
	</div>
	<div class="pagination">${page}</div>
</body>
</html>